package errors;

import java.io.Serializable;

public class DSError implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4393272432446618041L;
	private String errorMessage;

	
	public DSError(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	public String getMessage() {
		return errorMessage;
	}
	
	@Override
	public String toString() {
		String str = "DSError: ";
		str += "message=" + this.errorMessage;
		return str;
	}
	
}
